<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-11-07 22:23:21
         compiled from "H:\WebApplication\myconpany\sumi_mobile\application\views\supply\shoplist.html" */ ?>
<?php /*%%SmartyHeaderCode:18515561b7b5a5c38b9-16609511%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8054f64b2571b1d80af1fcc340b0a14d89ed8fcf' => 
    array (
      0 => 'H:\\WebApplication\\myconpany\\sumi_mobile\\application\\views\\supply\\shoplist.html',
      1 => 1446906176,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '18515561b7b5a5c38b9-16609511',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_561b7b5a86b404_70321571',
  'variables' => 
  array (
    'supplydetail' => 0,
    'lists' => 0,
    'item' => 0,
    'links' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_561b7b5a86b404_70321571')) {function content_561b7b5a86b404_70321571($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/header.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!--header stop-->
<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/common/headertitle.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!--header end-->
<div class="box-user">
<?php echo $_smarty_tpl->getSubTemplate ((@constant('APPLICATION_PATH')).("/application/views/common/headerMenu.html"), $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>


<div class="self-stock" style="padding-bottom:0;">


    <p class="self-stock-title"><?php echo $_smarty_tpl->tpl_vars['supplydetail']->value['business_name'];?>
<span class="fr gray" style="display: none;">1分钟前</span></p>

    <div class="self_text" style="margin-top:0;">
        <div class="self_tm1">
            <p class="self_tm1_k3"><?php echo $_smarty_tpl->tpl_vars['supplydetail']->value['contacts'];?>
</p>
            <p class="self_tm1_k1" style="margin-top: 0px;"><a target="_blank" href="tel:<?php echo $_smarty_tpl->tpl_vars['supplydetail']->value['mobile'];?>
"><?php echo $_smarty_tpl->tpl_vars['supplydetail']->value['mobile'];?>
</a></p>
            <p class="self_tm1_k2"><a target="_blank" href="tencent://message/?uin=<?php echo $_smarty_tpl->tpl_vars['supplydetail']->value['qq'];?>
&site=qq&menu=yes"><?php echo $_smarty_tpl->tpl_vars['supplydetail']->value['qq'];?>
</a></p>
        </div>
        
    </div>
</div>

<div class="swiper-slide">
    <table class="ssw_tab">
        <tr>
            <th>牌号</th>
            <th>厂商</th>
            <th>单价</th>
            <th>更新时间</th>
            <th></th>
        </tr>
        <?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['lists']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) {
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
        <tr href="/supply/detail/id/<?php echo $_smarty_tpl->tpl_vars['item']->value['id'];?>
">
            <td width="60"><p class="ptm1"><?php echo $_smarty_tpl->tpl_vars['item']->value['product_name'];?>
</p></td>
            <td><?php echo $_smarty_tpl->tpl_vars['item']->value['brand_name'];?>
</td>
            <td class="orange"><?php echo $_smarty_tpl->tpl_vars['item']->value['price'];?>
</td>
            <td><?php echo $_smarty_tpl->tpl_vars['item']->value['create_time'];?>
</td>
            <td><img src="/images/icons5.png" width="50%"/></td>
        </tr>
        <?php } ?>
    </table>
</div>
<div class="page">
    <?php echo $_smarty_tpl->tpl_vars['links']->value;?>

</div>
</div>

<?php echo '<script'; ?>
 type="text/javascript">

    $(function(){
        $('.ssw_tab tr').not(":first").click(function(){
            window.location.href=$(this).attr('href');
        });
    });
<?php echo '</script'; ?>
>


<div class="s_ftel"><a href="tel:<?php echo $_smarty_tpl->tpl_vars['supplydetail']->value['mobile'];?>
"><i></i>联系客户经理</a></div>

<?php }} ?>
